package com.zhousb.deviceManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhousb.deviceManager.model.entity.KiAsset;
import com.zhousb.deviceManager.model.so.AssetSo;
import com.zhousb.deviceManager.model.vo.AssetVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhousb
 * @date 2024/10/29 14:58
 * @description
 */
@Repository
public interface KiAssetMapper extends BaseMapper<KiAsset> {

    IPage<AssetVo> page(Page page, @Param("so")AssetSo so,@Param("clientIds")List<Long> clientIds);
    void batchInsert(List<KiAsset> list);
    boolean remove(@Param("id")String id);
}
